// components/z-form/zy-radio-group.js
const formCom = require('./zy-group-behavior');

Component({
    behaviors: [formCom],
    options: {
        dynamicSlots: true, // 启用动态 slot
    },
    lifetimes: {
        attached() {
            this.formItem = this.selectOwnerComponent();
            this.setLabels(this.data.options ? this.data.options : []) 
        }
    }
})